package com.example.campusforumapi.service;

import com.example.campusforumapi.entity.Category;
import com.example.campusforumapi.util.PageResult;

import java.util.List;

public interface CategoryService {
    /*
     * 文章分类信息分页查询
     * */
    PageResult getCagegoryPage(Integer page, Integer pageSize);

    int delCategory(List<Integer> ids);

     int findsameCategoryName(String categoryName);

    int findsameCategoryId(Integer categoryId);

    int insertCategory(Category category);

    int updCategory(Category category);

}
